package com.zj.esproxy.wrapper;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author arthur_zhou
 * @date 2023/11/7 14:32
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Sort {

    private String field;

    private Boolean desc;

    private Object lon;

    private Object lat;

    public Sort(String field) {
        this.field = field;
    }

    public Sort(String field, Boolean desc) {
        this.field = field;
        this.desc = desc;
    }
}
